ESX Installation
tip
Using ox_inventory? Check out the Ox_inventory Installation guide!
Open the config.weapons.lua file located in your es_extended folder.
Add the following code snippet to the weapons file:
es_extended/config.weapons.lua:256
{name = 'WEAPON_STUNGUN', label = TranslateCap('weapon_stungun'), tints = Config.DefaultWeaponTints, components = {}},
-- Line below
{name = 'WEAPON_SPEEDRADAR', label = TranslateCap('weapon_speedradar'), tints = Config.DefaultWeaponTints, components = {}},
Next, go to the locales folder in your es_extended directory and open the language file corresponding to your preferred language.
Add the following entry to the locale file:
es_extended/locales/en.lua:162
['weapon_vintagepistol'] = 'Vintage Pistol',
-- Line below
['weapon_speedradar'] = 'Police speed gun',
caution
Remember to restart your server after making these changes for them to take effect.